﻿using TCC.Framework;
using System.Collections.Generic;
using UnityEngine;
using System;

[Serializable]
//[CreateAssetMenu(menuName = "TCCFramework/CreateData/AB包配置数据")]
public class AssetBudleConfig : ObjectDataBase
{
    public List<AssetBundleEntity> m_AB;

    [Serializable]
    public class AssetBundleEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        public string m_key;

        /// <summary>
        /// 名称
        /// </summary>
        public string m_name;

        /// <summary>
        /// 标签
        /// </summary>
        public string m_tag;

        /// <summary>
        /// 版本号
        /// </summary>
        public int m_version;

        /// <summary>
        /// 大小
        /// </summary>
        public long m_size;

        /// <summary>
        /// 打包路径
        /// </summary>
        public string m_toPath;

        /// <summary>
        /// 是否是文件夹
        /// </summary>
        public bool m_isFolder;

        /// <summary>
        /// 是否是初始资源
        /// </summary>
        public bool m_isFirstData;
    }
}